/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.genius.demo;

import android.graphics.drawable.Drawable;
import android.graphics.drawable.LevelListDrawable;

public class MenuItemData {
	private int mCount;
	private LevelListDrawable mLevelListDrawable;
	private String[] mTitleID;

	public MenuItemData(LevelListDrawable paramLevelListDrawable,
			String[] paramArrayOfString, int paramInt) {
		refreshData(paramLevelListDrawable, paramArrayOfString, paramInt);
	}

	public int getCount() {
		return this.mCount;
	}

	public Drawable getDrawable(int paramInt) {
		this.mLevelListDrawable.setLevel(paramInt);
		return this.mLevelListDrawable.getCurrent();
	}

	public String getTitle(int paramInt) {
		return this.mTitleID[paramInt];
	}

	public void refreshData(LevelListDrawable paramLevelListDrawable,
			String[] paramArrayOfString, int paramInt) {
		this.mLevelListDrawable = paramLevelListDrawable;
		this.mTitleID = paramArrayOfString;
		this.mCount = paramInt;
	}
}